<!doctype html>
<html>
<head>
    <include file="public/head"/>
    <title>梦回故里批量上传产品插件</title>
    <meta name="description" content="梦回故里批量上传产品插件">
    <meta name="keywords" content="梦回故里批量上传产品插件">
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a>梦回故里批量上传产品插件</a></li>
    </ul>
    <div class="common-form margin-top-20">
        <div class="well">

            <p>
                <b>当前登录管理员:</b> {$name|default='管理员未登录'}
            </p>
            <p>
                <b>插件根目录:</b>__PLUGIN_ROOT__
            </p>
            <p>
                <b>插件模板根目录:</b>__PLUGIN_TMPL__
            </p>

        </div>
        <form method="post" class="js-ajax-form" action="{:cmf_plugin_url('multiupload://AdminIndex/upload')}" enctype="multipart/form-data">
                <div class="table_list">

                    <p>
                        <label>产品类别</label>
                        <select name="category">
                        <foreach name="categories" item="vo">
                            <option value="{$vo.id}">{$vo.name}</option>
                        </foreach>
                        </select>

                    </p>
                    <p>
                        <label>上传文件</label><span> <a href="{:cmf_plugin_url('multiupload://AdminIndex/downloadtemplate')}">模板下载</a></span>
                        <input type="file" name="file" value="上传excel文件"/>
                    </p>

                    <p>
                        <button type="submit">确定上传</button>
                    </p>



                </div>
            </form>
    </div>
</div>
<include file="public/scripts"/>
</body>
</html>